package com.yida.gwj.vote.domain.dto;

import com.yida.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 投票楼栋对象 vote_build
 *
 * @author lqq
 * @date 2023-03-22
 */
@ApiModel("投票楼栋输出对象")
public class GwjVoteBuildDTO extends BaseEntity {
	private static final long serialVersionUID = 1L;

	@ApiModelProperty("投票楼栋ID")
	private Long voteBuildId;

	@ApiModelProperty("基础楼栋ID")
	private Long buildId;

	@ApiModelProperty("楼栋标识码")
	private String buildCode;

	@ApiModelProperty("楼栋名称")
	private String buildName;

	public String getBuildCode() {
		return buildCode;
	}

	public void setBuildCode(String buildCode) {
		this.buildCode = buildCode;
	}

	public void setVoteBuildId(Long voteBuildId) {
		this.voteBuildId = voteBuildId;
	}

	public Long getVoteBuildId() {
		return voteBuildId;
	}

	public void setBuildId(Long buildId) {
		this.buildId = buildId;
	}

	public Long getBuildId() {
		return buildId;
	}

	public void setBuildName(String buildName) {
		this.buildName = buildName;
	}

	public String getBuildName() {
		return buildName;
	}

	@Override
	public String toString() {
		return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
				.append("voteBuildId", getVoteBuildId())
				.append("buildId", getBuildId())
				.append("buildName", getBuildName())
				.append("createBy", getCreateBy())
				.append("createTime", getCreateTime())
				.append("updateBy", getUpdateBy())
				.append("updateTime", getUpdateTime())
				.append("remark", getRemark())
				.toString();
	}
}
